package com.fh.modules.dbms.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import com.fh.common.query.QueryRuleEnum;
import com.fh.common.query.annotation.QueryWrapperRule;

/**
 * @Description: 数据库类型
 * @author： code generator
 * @date：   2020-05-06
 * @version： V1.0
 */
@Data
@TableName("dbms_dbtype")
public class DbmsDbtype implements Serializable {
    private static final long serialVersionUID = 1L;
    
	/**x`*/
	@TableId(type = IdType.AUTO)
	private Integer id;
	/**数据库名称*/
	@Excel(name = "数据库名称", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String dbName;
	/**采集类*/
	@Excel(name = "采集类", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String sourceClass;
	/**类型代码*/
	@Excel(name = "类型代码", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String typeCode;
	/**jdbc驱动*/
	@Excel(name = "jdbc驱动", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String jdbcDriver;
	/**数据库版本*/
	@Excel(name = "数据库版本", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String dbVersion;
	/**url模板*/
	@Excel(name = "url模板", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String urlTemplate;
	/**删除状态（0，正常，1已删除）*/
	@Excel(name = "删除状态（0，正常，1已删除）", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private Integer delFlag;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
	@QueryWrapperRule(rule=QueryRuleEnum.EQ)
	private String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
}
